﻿using System.Runtime.InteropServices;
using System.Web.Mvc;
using EUTmvc.Models;

namespace EUTmvc.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/

        public ViewResult Index()
        {
            var model = NewsModel.News();
            return View(model);
        }

        public ViewResult News(int id)
        {
            var model = NewsModel.News(id);
            return View(model);
        }
    }
}
